<template>
  <div id="app">
    <p>{{number | update}}</p>
  </div>
</template>

<script>
export default {
  data(){
    return{
      number:3,
    }
  },
  filters:{
    update(value){
      let array=["零","壹","贰","叁","肆","伍","陸","柒","捌","玖","拾"];
      return array[value];
    }
  }
}  
</script>
<style> 
</style>
